from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
from events.views import *
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
     #url(r'^$', 'smogcast.views.home', name='home'),
     #url(r'^smogcast/', include('smogcast.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),

    url(r'^weather/', include('weather.urls')),
    url(r'^accounts/', include('registration.backends.default.urls')),
    #url(r'^events/(?P<event_id>\d+)/$', 'events.views.detail'),
    #url(r'^events/(?P<event_id>\d+)/results/$', 'events.views.results'),
    #url(r'^events/(?P<event_id>\d+)/vote/$', 'events.views.vote'),
)
